package cmo.cel.entity;

import java.util.Map;

import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("xml")
public class VoiceMessage extends BaseMessage{
//
//	@XStreamAlias("MediaId")
//	private String mediaId;
//	public String getMediaId() {
//		return mediaId;
//	}
//	public void setMediaId(String mediaId) {
//		this.mediaId = mediaId;
//	}
//	public VoiceMessage(Map<String, String> requesMap,String mediaId) {
//		super(requesMap);
//		this.setMsgType("voice");
//		this.mediaId = mediaId;
//	}
//
//}
	@XStreamAlias("MediaId")
	private String mediaId;

	
	@XStreamAlias("Format")
	private String format;
	
	@XStreamAlias("Recognition")
	private String ecognition;
	
	
	@XStreamAlias("Recognition")
	private String recognition;
	
	@XStreamAlias("MsgId")
	private String msgId;

	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public String getEcognition() {
		return ecognition;
	}

	public void setEcognition(String ecognition) {
		this.ecognition = ecognition;
	}

	public String getRecognition() {
		return recognition;
	}

	public void setRecognition(String recognition) {
		this.recognition = recognition;
	}

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}

	public VoiceMessage(Map<String, String> requesMap, String mediaId, String format, String ecognition,
			String recognition, String msgId) {
		super(requesMap);
		this.setMsgType("voice");
		this.mediaId = mediaId;
		this.format = format;
		this.ecognition = ecognition;
		this.msgId = msgId;
		this.recognition = recognition;
	}
	

}